package com.shop.dingdongshoppingapi.service.intf;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.dingdongshoppingapi.dto.HistoryAddDto;
import com.shop.dingdongshoppingapi.entity.History;
import com.shop.dingdongshoppingapi.vo.R;


public interface HistoryService{
    /**
     * 添加历史记录
     * @param historyAddDto
     * @param token
     * @return
     */
    R save(HistoryAddDto historyAddDto, int token);

    R queryByUid(int uid);
}
